using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
namespace Model
{
    public partial  class Obj_B_FY
    {
 private bool _HasData;
private string _DM;
private string _FBDM;
private string _MC;
private string _JC;
private string _SM;

public static string TableName="B_FY";
 public string DM { get { return this._DM; } set { this._DM = value;} }
 public string FBDM { get { return this._FBDM; } set { this._FBDM = value;} }
 public string MC { get { return this._MC; } set { this._MC = value;} }
 public string JC { get { return this._JC; } set { this._JC = value;} }
 public string SM { get { return this._SM; } set { this._SM = value;} }

 public bool HasData { get { return this._HasData; } }
  public Obj_B_FY()
{
 }
  public  Obj_B_FY(string cDM,string cFBDM,string cMC,string cJC,string cSM)
{
 _HasData=true;
  try
{
this._DM=cDM;
this._FBDM=cFBDM;
this._MC=cMC;
this._JC=cJC;
this._SM=cSM;

  }catch(Exception ex){_HasData=false;}
 }
 public Obj_B_FY(DataRow row)
{
 _HasData=true;
  try
{
this._DM = row["DM"].ToString();
this._FBDM = row["FBDM"].ToString();
this._MC = row["MC"].ToString();
this._JC = row["JC"].ToString();
this._SM = row["SM"].ToString();

  }catch(Exception ex){_HasData=false;}
 }
    }
}
